
using Abp.Application.Services.Dto;
using SOEI.Solution.Customized;
using SOEI.Solution.FileUpLoader.Dtos;
using System;
using System.Collections.Generic;

namespace SOEI.Solution.Integratedes.Organization.Dtos
{
    /// <summary>
    /// OEconomyOrgani的列表DTO
    /// <see cref=""/>
    /// </summary>
    public class OEconomyOrganiListDto : EntityDto<string>
    {
        /// <summary>
        /// 字段DZ
        /// </summary>
        public string DZ { get; set; }

        /// <summary>
        /// 字段ZGBM
        /// </summary>
        public string ZGBM { get; set; }

        /// <summary>
        /// 字段ZCZJ
        /// </summary>
        public string ZCZJ { get; set; }

        /// <summary>
        /// 字段FRXM
        /// </summary>
        public string FRXM { get; set; }

        /// <summary>
        /// 字段FRDH
        /// </summary>
        public string FRDH { get; set; }

        /// <summary>
        /// 字段LXRXM
        /// </summary>
        public string LXRXM { get; set; }

        /// <summary>
        /// 字段LXRDH
        /// </summary>
        public string LXRDH { get; set; }

        /// <summary>
        /// 字段YWLXDH
        /// </summary>
        public string YWLXDH { get; set; }

        /// <summary>
        /// 字段YZBH
        /// </summary>
        public string YZBH { get; set; }

        /// <summary>
        /// 字段RYZS
        /// </summary>
        public decimal RYZS { get; set; }

        /// <summary>
        /// 字段JJRS
        /// </summary>
        public decimal JJRS { get; set; }

        /// <summary>
        /// 字段YYZZH
        /// </summary>
        public string YYZZH { get; set; }

        /// <summary>
        /// 字段SWDJZH
        /// </summary>
        public string SWDJZH { get; set; }

        /// <summary>
        /// 字段FRDMZH
        /// </summary>
        public string FRDMZH { get; set; }

        /// <summary>
        /// 字段FZJGS
        /// </summary>
        public decimal FZJGS { get; set; }

        /// <summary>
        /// 字段YWFW
        /// </summary>
        public string YWFW { get; set; }

        /// <summary>
        /// 字段ZJLY
        /// </summary>
        public string ZJLY { get; set; }

        /// <summary>
        /// 字段GDZJ
        /// </summary>
        public decimal GDZJ { get; set; }

        /// <summary>
        /// 字段LDZJ
        /// </summary>
        public decimal LDZJ { get; set; }

        /// <summary>
        /// 字段ZJZJ
        /// </summary>
        public decimal ZJZJ { get; set; }

        /// <summary>
        /// 字段ZYMJ
        /// </summary>
        public decimal ZYMJ { get; set; }

        /// <summary>
        /// 字段ZLMJ
        /// </summary>
        public decimal ZLMJ { get; set; }

        /// <summary>
        /// 字段QTMJ
        /// </summary>
        public decimal QTMJ { get; set; }

        /// <summary>
        /// 字段MJHJ
        /// </summary>
        public decimal MJHJ { get; set; }

        /// <summary>
        /// 字段JGLXDM
        /// </summary>
        public string JGLXDM { get; set; }

        /// <summary>
        /// 字段SJDW
        /// </summary>
        public string SJDW { get; set; }

        /// <summary>
        /// 字段FZRXM
        /// </summary>
        public string FZRXM { get; set; }

        /// <summary>
        /// 字段FZRDH
        /// </summary>
        public string FZRDH { get; set; }

        /// <summary>
        /// 字段JJXZDM
        /// </summary>
        public string JJXZDM { get; set; }

        /// <summary>
        /// 字段LRSJ
        /// </summary>
        public string LRSJ { get; set; }

        /// <summary>
        /// 字段JGZT
        /// </summary>
        public string JGZT { get; set; }

        /// <summary>
        /// 字段GLYBH
        /// </summary>
        public string GLYBH { get; set; }

        /// <summary>
        /// 字段BGMJ
        /// </summary>
        public decimal BGMJ { get; set; }

        /// <summary>
        /// 字段ZCDZ
        /// </summary>
        public string ZCDZ { get; set; }

        /// <summary>
        /// 字段ZCDZYB
        /// </summary>
        public string ZCDZYB { get; set; }

        /// <summary>
        /// 字段BGCSDM
        /// </summary>
        public string BGCSDM { get; set; }

        /// <summary>
        /// 字段SGRS
        /// </summary>
        public decimal SGRS { get; set; }

        /// <summary>
        /// 字段KZJQDMMHTBH
        /// </summary>
        public string KZJQDMMHTBH { get; set; }

        /// <summary>
        /// 字段JJHTJYBH
        /// </summary>
        public string JJHTJYBH { get; set; }

        /// <summary>
        /// 字段JYGPXXBH
        /// </summary>
        public string JYGPXXBH { get; set; }

        /// <summary>
        /// 字段JJRXLZS
        /// </summary>
        public decimal JJRXLZS { get; set; }

        /// <summary>
        /// 字段XGSJ
        /// </summary>
        public DateTime XGSJ { get; set; }

        /// <summary>
        /// 字段EMAIL
        /// </summary>
        public string EMAIL { get; set; }

        /// <summary>
        /// 字段QQ
        /// </summary>
        public string QQ { get; set; }

        /// <summary>
        /// 字段NJYQSJ
        /// </summary>
        public string NJYQSJ { get; set; }

        /// <summary>
        /// 字段SFFZJG
        /// </summary>
        public string SFFZJG { get; set; }

        /// <summary>
        /// 字段ZGS
        /// </summary>
        public string ZGS { get; set; }

        /// <summary>
        /// 字段YZGSGX
        /// </summary>
        public string YZGSGX { get; set; }

        /// <summary>
        /// 字段PYJC
        /// </summary>
        public string PYJC { get; set; }

        /// <summary>
        /// 字段JGZP
        /// </summary>
        public string JGZP { get; set; }

        /// <summary>
        /// 字段KWQ
        /// </summary>
        public string KWQ { get; set; }

        /// <summary>
        /// 字段JGMC
        /// </summary>
        public string JGMC { get; set; }

        /// <summary>
        /// 字段SFYQ
        /// </summary>
        public string SFYQ { get; set; }

        /// <summary>
        /// 字段WQKTSJ
        /// </summary>
        public DateTime WQKTSJ { get; set; }

        /// <summary>
        /// 字段ZGSJGBH
        /// </summary>
        public string ZGSJGBH { get; set; }

        /// <summary>
        /// 字段FRZJLX
        /// </summary>
        public string FRZJLX { get; set; }

        /// <summary>
        /// 字段FRZJHM
        /// </summary>
        public string FRZJHM { get; set; }

        /// <summary>
        /// 字段JGQC
        /// </summary>
        public string JGQC { get; set; }

        /// <summary>
        /// 字段SFGTGSH
        /// </summary>
        public string SFGTGSH { get; set; }

        /// <summary>
        /// 身份证模块编号
        /// </summary>
        public Guid IdentifyModuleID { get; set; }

        /// <summary>
        /// 营业执照模块编号
        /// </summary>
        public Guid LicenseModuleID { get; set; }

        /* 这里创建自己的代码 */

        #region ----------------------------- 扩展字段 ----------------
        /// <summary>
        /// 身份证证件清单
        /// </summary>
        public ICollection<AttachEditDto> IdentifyAttachs { get; set; }

        /// <summary>
        /// 身份证证件清单
        /// </summary>
        public ICollection<AttachEditDto> LicenseAttachs { get; set; }


        /// <summary>
        /// 机构状态的名称
        /// </summary>

        public string JGZTMC { get; set; }

        /// <summary>
        /// 总公司关系名称
        /// </summary>
        public string YZGSGXMC
        {
            get
            {
                switch (this.YZGSGX)
                {
                    case "1":
                        return "直营";
                    case "2":
                        return "加盟";
                    default:
                        return string.Empty;
                }
            }
        }
        #endregion


        #region ----------------------------- 功能字段 ----------------

        /// <summary>
        /// 是否允许初始化机构数据
        /// </summary>
        public bool UseInit { get; set; }
        /// <summary>
        /// 是否允许变更（功能，只有已经审核的的申请才可以变更）
        /// </summary>
        public bool UseChange { get; set; }

        /// <summary>
        /// 是否允许电子印章申请（功能，只有已经审核的的申请才可以申请）
        /// </summary>
        public bool UseSignet { get; set; }

        /// <summary>
        ///  是否允许电子印章授权（功能，只有已经审核的的申请才可以授权）
        /// </summary>
        public bool UseGrant { get; set; }

        /// <summary>
        /// 是否允新模式服务许可（功能，1.已经审核的的申请才可以许可设置 2. 必须申请过电子印章）
        /// </summary>
        public bool UseLicense { get; set; }

        /// <summary>
        /// 是否允年检（功能，1.已经审核的的申请才可以年检）
        /// </summary>
        public bool UseCheckup { get; set; }

        /// <summary>
        /// 是否允注销（功能，1.已经审核的的申请才可以注销）
        /// </summary>
        public bool UseCancel { get; set; }

        #endregion
    }
}